package com.luodea.rabbitmqpublish;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author Administrator
 */
@SpringBootApplication
@EnableRabbit
@EnableTransactionManagement
@ComponentScan(basePackages ="com.luodea")
public class RabbitmqPublishApplication {

    public static void main(String[] args) {
        SpringApplication.run(RabbitmqPublishApplication.class, args);
    }

}
